<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{% block title %}银行放贷指标查询系统{% endblock %}</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
  <!-- AdminLTE -->
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/admin-lte/2.4.18/css/AdminLTE.min.css">
  <!-- AdminLTE Skins -->
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/admin-lte/2.4.18/css/skins/_all-skins.min.css">
  
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://cdn.bootcdn.net/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  
  {% block extra_css %}{% endblock %}
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <header class="main-header">
    <!-- Logo -->
    <a href="{% url 'dashboard' %}" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><b>放</b>贷</span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><b>银行放贷</b>指标查询系统</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">切换导航</span>
      </a>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- User Account: style can be found in dropdown.less -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="https://adminlte.io/themes/AdminLTE/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <span class="hidden-xs">管理员</span>
            </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
                <img src="https://adminlte.io/themes/AdminLTE/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                <p>
                  银行放贷指标查询系统
                  <small>管理员</small>
                </p>
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">个人资料</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">退出</a>
                </div>
              </li>
            </ul>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <div class="user-panel">
        <div class="pull-left image">
          <img src="https://adminlte.io/themes/AdminLTE/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p>管理员</p>
          <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
        </div>
      </div>
      <!-- search form -->
      <form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="搜索...">
          <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
        </div>
      </form>
      <!-- /.search form -->
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header">主导航</li>
        <li class="active">
          <a href="{% url 'dashboard' %}">
            <i class="fa fa-dashboard"></i> <span>仪表盘</span>
          </a>
        </li>
        <!-- 查询功能 -->
        <li class="treeview">
          <a href="#">
            <i class="fa fa-search"></i> <span>查询功能</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li>
              <a href="/query/company/list/">
                <i class="fa fa-building"></i> <span>企业信息查询</span>
              </a>
            </li>
            <li>
              <a href="/query/risk/list/">
                <i class="fa fa-exclamation-circle"></i> <span>风险指标查询</span>
              </a>
            </li>
          </ul>
        </li>
        <!-- 数据可视化 -->
        <li class="treeview">
          <a href="#">
            <i class="fa fa-pie-chart"></i> <span>数据可视化</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li>
              <a href="/query/visualize/statistics/">
                <i class="fa fa-map-marker"></i> <span>企业分布图</span>
              </a>
            </li>
            <li>
              <a href="/query/visualize/screen/" target="_blank">
                <i class="fa fa-bar-chart"></i> <span>可视化大屏</span>
              </a>
            </li>
          </ul>
        </li>
        <!-- 风险报告 -->
        <li class="treeview">
          <a href="#">
            <i class="fa fa-file-text"></i> <span>风险报告</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li>
              <a href="/query/company/report/">
                <i class="fa fa-exclamation-circle"></i> <span>企业风险报告</span>
              </a>
            </li>
          </ul>
        </li>
        <!-- 智能工具 -->
        <li class="treeview">
          <a href="#">
            <i class="fa fa-wrench"></i> <span>智能工具</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li>
              <a href="/query/tools/estimate/">
                <i class="fa fa-calculator"></i> <span>风险预估工具</span>
              </a>
            </li>
          </ul>
        </li>
        <!-- 系统管理 -->
        <li class="treeview">
          <a href="#">
            <i class="fa fa-cog"></i> <span>系统管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li>
              <a href="/users/user_list/">
                <i class="fa fa-user"></i> <span>用户管理</span>
              </a>
            </li>
            <li>
              <a href="/users/menu_permission/list/">
                <i class="fa fa-key"></i> <span>菜单管理</span>
              </a>
            </li>
            <li>
              <a href="/users/group_permission/">
                <i class="fa fa-users"></i> <span>用户组权限</span>
              </a>
            </li>
            <li>
              <a href="/users/groups/">
                <i class="fa fa-user-plus"></i> <span>用户组管理</span>
              </a>
            </li>
          </ul>
        </li>
      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        {% block page_title %}仪表盘{% endblock %}
        <small>{% block page_subtitle %}控制面板{% endblock %}</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="{% url 'dashboard' %}"><i class="fa fa-dashboard"></i> 首页</a></li>
        {% block breadcrumb %}{% endblock %}
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      {% block content %}{% endblock %}
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 1.0.0
    </div>
    <strong>Copyright &copy; 2024 <a href="#">银行放贷指标查询系统</a>.</strong> 保留所有权利
  </footer>

</div>
<!-- ./wrapper -->

<!-- jQuery 3 -->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="https://cdn.bootcdn.net/ajax/libs/admin-lte/2.4.18/js/adminlte.min.js"></script>
<!-- ChartJS -->
<script src="https://cdn.bootcdn.net/ajax/libs/Chart.js/2.7.3/Chart.min.js"></script>

{% block extra_js %}{% endblock %}
</body>
</html>